#ifndef ENROLL_H
#define ENROLL_H

#include <QWidget>

namespace Ui {
class enroll;
}

class enroll : public QWidget
{
    Q_OBJECT

public:
    explicit enroll(QWidget *parent = nullptr);
    ~enroll();

private slots:
    void handleEnroll();

    void on_exit_btn_clicked();

    void on_showPasswcheckBox_clicked(bool checked);

    void on_showConPasswcheckBox_clicked(bool checked);

protected://只能从 类的内部 或者 派生类 中访问
    virtual void keyReleaseEvent(QKeyEvent *event);
    //类的保护部分，虚拟函数keyReleaseEvent，处理按键释放事件

private:
    Ui::enroll *ui;
};

#endif // ENROLL_H
